<template>
    <div class="card">
        <div class="card-header">
            {{title}}
        </div>
        <div class="card-conntet">
            <slot></slot>
        </div>
    </div>
</template>

<script>
export default {
    data(){
        return {
            
        }
    },
    props:{
        title:{
            type:String,
            default:function(){
                return "";
            }
        },
        link:{
            type:String,
            default:function(){
                return "";
            }
        }
    }
}
</script>

<style scoped>
.card{
    background: #fff;
    margin-bottom: 5px;
}
.card-header{
    height: 44px;
    padding-left: 20px;
    font-size:16px;
    font-family:PingFangSC-Regular;
    color:#353535;
    line-height: 44px;
    border-bottom: 1px solid #D8D8D8;
}
.card-conntet{
    padding: 12px 20px;
}

</style>
